package cn.edu.xust.service;

import cn.edu.xust.Ro.DeviceEntityRo;
import cn.edu.xust.Ro.MulHotelWtRo;
import cn.edu.xust.configuration.exception.Default200Exception;
import cn.edu.xust.Ro.WtRo;
import cn.edu.xust.entity.WtdataEntity;
import cn.edu.xust.util.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.edu.xust.entity.DeviceEntity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ufo
 * @email 2575829997@qq.com
 * @date 2024-03-27 18:09:23
 */
public interface DeviceService extends IService<DeviceEntity> {

    PageUtils queryPage(Map<String, Object> params);

    DeviceEntity getByName(String ammeterId);
    List<DeviceEntity> getByName(String ammeterId, String ele);

    List<DeviceEntity> getByHotelRoom(String hotelid, String roomname);

    WtdataEntity parsePersistwt(String hexString, String timetype) throws Default200Exception;

    List<DeviceEntity> getByHotel(String hotelid);

    List<DeviceEntity> getByHotelRoomAngType(String hotelid, String roomname, String type);

    List<DeviceEntity> getByHotelAndClassify(String hotelid, String classify);

    DeviceEntity getByHRType(String hotelid, String roomid, String type);

    List<DeviceEntity> getByHotels(ArrayList<String> list);


    List<DeviceEntityRo> getRoomsByHotel(String hotelid);

    List<DeviceEntity> getByHotel(String hotelid, String roomname, String mac, List<String> type);

    DeviceEntity getByHotelRoomAngNickName(String hotelid, String roomname, String nickname);


    List<DeviceEntity> getByGatewayids(List<Integer> gids);

    List<DeviceEntity> getByHotelAndType(String hotelid, String type);

}

